home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 1 / Meeting Pearls Vol 1 (1994).iso / installed_progs / text / casslabel / drivers / pastex.drv < prev    next >
Encoding:
Text File  |  1994-03-26  |  786 b   |  29 lines

  1. /*******************************************
  2.  *                                         *
  3.  * PasTeX-Driver, Version 1.0 (26.03.1994) *
  4.  *                                         *
  5.  *******************************************/
  6.  
  7. /*************
  8.  * Arguments *
  9.  *************/
  10. ARG filename dirname
  11.  
  12. filename = TRANSLATE(filename, XRANGE('a','z'), XRANGE('A','Z'))
  13. dirname = TRANSLATE(dirname, XRANGE('a','z'), XRANGE('A','Z'))
  14. texfile = filename || ".tex"
  15. dvifile = filename || ".dvi"
  16.  
  17. ADDRESS COMMAND "Delete >NIL:" texfile
  18. ADDRESS COMMAND Rename filename texfile
  19.  
  20. latex     = "TeX:bin/virtex &lplain"
  21. previewer = "TeX:bin/showdvi"
  22. printer   = "TeX:bin/dviprint Printer=LaserJet"
  23.  
  24. ADDRESS COMMAND latex texfile
  25. ADDRESS COMMAND previewer dvifile
  26. /* ADDRESS COMMAND printer dvifile */
  27.  
  28. EXIT
  29.